package com.jzo2o.customer.service;

import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.WorkerCertificationAudit;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.customer.model.dto.request.CertificationAuditReqDTO;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditAddReqDTO;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditPageQueryReqDTO;
import com.jzo2o.customer.model.dto.response.RejectReasonResDTO;
import com.jzo2o.customer.model.dto.response.WorkerCertificationAuditResDTO;

/**
* @author 86157
* @description 针对表【worker_certification_audit(服务人员认证审核表)】的数据库操作Service
* @createDate 2024-08-20 20:55:02
*/
public interface IWorkerCertificationAuditService extends IService<WorkerCertificationAudit> {

    void appIyCertification(WorkerCertificationAuditAddReqDTO workerCertificationAuditAddReqDTO);

    RejectReasonResDTO queryCurrentUserLastRejectReason();

    PageResult<WorkerCertificationAuditResDTO> pageQuery(WorkerCertificationAuditPageQueryReqDTO workerCertificationAuditPageQueryReqDTO);

    void auditCertification(long id, CertificationAuditReqDTO certificationAuditReqDTO);
}
